package xby.study.annotations.util;


import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.core.annotation.AnnotatedElementUtils;
import xby.study.annotations.beans.AAA;
import xby.study.annotations.beans.Application;

import java.util.Set;

public class Test {
    public static void main(String[] args) {


        AnnotationConfigApplicationContext aa = new AnnotationConfigApplicationContext();
        Set<String> ss = AnnotatedElementUtils.getMetaAnnotationTypes(Application.class, AAA.class);

        for (String s : ss) {
            System.out.println(s);
        }

    }
}
